const { ccclass, property } = cc._decorator

@ccclass
export default class SpalashScene extends cc.Component {

    @property(cc.Label)
    lable: cc.Label = null

    protected onLoad(): void {
        this.lable.string = "游戏加载中"
    }

    protected start(): void {
        setTimeout(() => {
            //加载开始游戏场景
            cc.director.loadScene('StartScene')
        }, 500);
    }

}



